import { createRouter, createWebHashHistory } from 'vue-router'


const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/Home.vue'),
    },
    {
      path: '/task_setting',
      name: 'task_setting',
      component: () => import('@/views/TaskSetting.vue'),
    },
    {
      path: '/task_starting',
      name: 'task_starting',
      component: () => import('@/views/TaskStarting2.vue'),
    },
    {
      path: '/history',
      name: 'history',
      component: () => import('@/views/History.vue'),
    },
    {
      path: '/model_home',
      name: 'model_home',
      component: () => import('@/views/ModelHome.vue'),
    },
    {
      path: '/model',
      name: 'model',
      component: () => import('@/views/Model.vue'),
    },
    {
      path: '/model_info',
      name: 'model_info',
      component: () => import('@/views/ModelInfo.vue'),
    },
    {
      path: '/camera',
      name: 'camera',
      component: () => import('@/views/Camera.vue'),
    },
  ],
})

export default router
